package com.zhitan.basicdata.domain;

import com.zhitan.common.annotation.Excel;
import com.zhitan.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 计量器具档案维护 导出 Excel专用对象 meter_implement
 *
 * @author zhaowei
 * @date 2020-02-12
 */
public class MeterImplementExcel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 编码
     */
    @Excel(name = "编码")
    private String code;

    /**
     * 器具名称
     */
    @Excel(name = "器具名称")
    private String meterName;

    /**
     * 种类
     */
    @Excel(name = "种类")
    private String meterType;

    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    private String modelNumber;

    /**
     * 测量范围
     */
    @Excel(name = "测量范围")
    private String measureRange;

    /**
     * 生产厂商
     */
    @Excel(name = "生产厂商")
    private String manufacturer;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private String personCharge;

    /**
     * 安装位置
     */
    @Excel(name = "安装位置")
    private String installactionLocation;

    /**
     * 起始时间
     */
    @Excel(name = "起始时间")
    private String startTime;

    /**
     * 检定周期
     */
    @Excel(name = "检定周期")
    private Integer checkCycle;

    /**
     * 提醒周期
     */
    @Excel(name = "提醒周期")
    private Integer reminderCycle;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String meterStatus;

    /**
     * 逻辑删除标志,Y已删除,N未删除
     */
    private String delFlage;

    @Excel(name = "线径")
    private String wireDiameter;

    @Excel(name = "允许最大功率")
    private String maxAllowablePower;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setMeterName(String meterName) {
        this.meterName = meterName;
    }

    public String getMeterName() {
        return meterName;
    }

    public void setMeterType(String meterType) {
        this.meterType = meterType;
    }

    public String getMeterType() {
        return meterType;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setMeasureRange(String measureRange) {
        this.measureRange = measureRange;
    }

    public String getMeasureRange() {
        return measureRange;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setPersonCharge(String personCharge) {
        this.personCharge = personCharge;
    }

    public String getPersonCharge() {
        return personCharge;
    }

    public void setInstallactionLocation(String installactionLocation) {
        this.installactionLocation = installactionLocation;
    }

    public String getInstallactionLocation() {
        return installactionLocation;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setCheckCycle(Integer checkCycle) {
        this.checkCycle = checkCycle;
    }

    public Integer getCheckCycle() {
        return checkCycle;
    }

    public void setReminderCycle(Integer reminderCycle) {
        this.reminderCycle = reminderCycle;
    }

    public Integer getReminderCycle() {
        return reminderCycle;
    }

    public void setMeterStatus(String meterStatus) {
        this.meterStatus = meterStatus;
    }

    public String getMeterStatus() {
        return meterStatus;
    }

    public void setDelFlage(String delFlage) {
        this.delFlage = delFlage;
    }

    public String getDelFlage() {
        return delFlage;
    }

    public String getWireDiameter() {
        return wireDiameter;
    }

    public void setWireDiameter(String wireDiameter) {
        this.wireDiameter = wireDiameter;
    }

    public String getMaxAllowablePower() {
        return maxAllowablePower;
    }

    public void setMaxAllowablePower(String maxAllowablePower) {
        this.maxAllowablePower = maxAllowablePower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("meterName", getMeterName())
                .append("meterType", getMeterType())
                .append("modelNumber", getModelNumber())
                .append("measureRange", getMeasureRange())
                .append("manufacturer", getManufacturer())
                .append("personCharge", getPersonCharge())
                .append("installactionLocation", getInstallactionLocation())
                .append("startTime", getStartTime())
                .append("checkCycle", getCheckCycle())
                .append("reminderCycle", getReminderCycle())
                .append("meterStatus", getMeterStatus())
                .append("delFlage", getDelFlage())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
